<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" isELIgnored="false"%>
<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>  
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>  
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>User Login Page</title>
</head>
<body>
  <h2>User Login Page</h2>
  <form method="post" action="userLogin">  
    UserName:<input type="text" name="loginName"/><sf:errors path="loginName"/><br/>  
    Password:<input type="password" name="password"/><sf:errors path="password"/><br/>  
    <input type="submit" />  
  </form>  

<!-- 
	<sf:form id="form1" method="post" modelAttribute="userFrom">
		<table>
			<tr>
				<td>99999</td>
				<td>
					<c:out value="${loginName}" /> 
				</td>
			</tr>
		</table>
	</sf:form>
 -->	
	<a href="javascript:history.back()">Back</a>
</body>
</html>